Skip to content

Add method to update the priorities of all the issues#225

Merged
Crola1702 merged 2 commits intomainfrom
Crola1702/update-issue-priorities
Feb 27, 2026
Merged

Add method to update the priorities of all the issues#225
Crola1702 merged 2 commits intomainfrom
Crola1702/update-issue-priorities

Conversation

@Crola1702
Copy link
Contributor

Description

This PR adds the update_issues_priority method, which will get all the issues present on the database and calculate its priority.

This can be easily run using: ruby -r "./lib/buildfarm_tools" -e "BuildfarmToolsLib::update_issues_priority" from the database/scripts folder

Changes

  • Added update_issues_priority method in buildfarm_tools.
  • Updated the default argument of known_issues to get all the issues by default
    • The note regarding the not best approach is because it's really slow to get issues using %%. The alternative would be to add some logic to the method to select the query before running it.

Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
@Crola1702 Crola1702 self-assigned this Feb 27, 2026
Signed-off-by: Crola1702 <cristobal.arroyo@ekumenlabs.com>
@Crola1702 Crola1702 merged commit f262748 into main Feb 27, 2026
1 check passed
@Crola1702 Crola1702 deleted the Crola1702/update-issue-priorities branch February 27, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants